package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报事报修对象 repair_events
 * 
 * @author asher
 * @date 2021-11-23
 */
public class RepairEvents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报修记录ID */
    private Long eventId;

    /** 报修地点 */
    @Excel(name = "报修地点")
    private String address;

    /** 报修内容 */
    @Excel(name = "报修内容")
    private String content;

    /** 报修人 */
    @Excel(name = "报修人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long villageId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String villageName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    /** 上报人ID */
    @Excel(name = "上报人ID")
    private Long userId;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String wxUserName;

    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setVillageId(Long villageId) 
    {
        this.villageId = villageId;
    }

    public Long getVillageId() 
    {
        return villageId;
    }
    public void setVillageName(String villageName) 
    {
        this.villageName = villageName;
    }

    public String getVillageName() 
    {
        return villageName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setWxUserName(String wxUserName) 
    {
        this.wxUserName = wxUserName;
    }

    public String getWxUserName() 
    {
        return wxUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventId", getEventId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("address", getAddress())
            .append("content", getContent())
            .append("name", getName())
            .append("phone", getPhone())
            .append("villageId", getVillageId())
            .append("villageName", getVillageName())
            .append("status", getStatus())
            .append("attachment", getAttachment())
            .append("userId", getUserId())
            .append("wxUserName", getWxUserName())
            .toString();
    }
}
